<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

<script language="javaScript" type="text/javascript"
	src="<c:url value='/cal/calendar.js'/>">
	
</script>

<link href="<c:url value='/cal/calendar.css'/>" rel="stylesheet"
	type="text/css">
<link href="<c:url value='/Styles/style.css'/>" rel="stylesheet"
	type="text/css" />

</head>
<body>
	<div class="page">
		<div id="header-wrapper">
			<div id="header">
				<div id="logo">
					<!-- Header -->

					<h4>&nbsp;</h4>
				</div>
			</div>
		</div>

		<div class="page-wrapper">
			<div class="main">
				<div class="colleft">
					<div class="col1">
						<!-- Side menu -->
						<h4><%@ include file="staff-logout.jsp"%></h4>
						<h4><%@ include file="employee-menu.jsp"%></h4>
						<h4>&nbsp;</h4>
					</div>
					<div class="col2">
						<!-- Main Content -->
						<form id="form1" name="form1" method="post"
							action="./processleave">
							<p align="center">
								<strong>Detailed Informations For Applied Staff </strong>
							</p>
							<table width="454" border="1" align="center">
								<tr>
									<td><strong>UserID :</strong>
									</td>
									<td colspan="100"><label> <input type="text"
											name="userid" id="userid" value="${app.userId}"
											readonly="readonly" /> </label>
									</td>
								</tr>
								<tr>
									<td><strong>User Name :</strong>
									</td>
									<td colspan="100"><label> <input type="text"
											name="username2" id="username2" value="${app.userName}"
											readonly="readonly" /> </label>
									</td>
								</tr>
								<tr>
									<td><strong>Role:</strong>
									</td>
									<td colspan="100"><label> <input type="text"
											name="role" id="role" value="${app.role}" readonly="readonly" />
									</label>
									</td>
								</tr>
								<tr>
									<td><strong>Status :</strong>
									</td>
									<td colspan="100"><input type="text" name="status2"
										id="status2" value="${app.status}" readonly="readonly" /> <select
										name="status" id="status">
											<option value="Approve">Approve</option>
											<option value="Reject">Reject</option>
									</select></td>
								</tr>
								<tr>
									<td><strong>Type :</strong>
									</td>
									<td colspan="100"><label> <input type="text"
											name="type" id="type" value="${app.type}" readonly="readonly" />
									</label>
									</td>
								</tr>
								<tr>
									<td><strong>ApplyDate:</strong>
									</td>
									<td colspan="100"><label> <input type="text"
											name="applydate" id="applydate" value="${app.applyDate}"
											readonly="readonly" /> </label>
									</td>
								</tr>
								<tr>
									<td><strong>Form :</strong>
									</td>
									<td colspan="100"><label> <input type="text"
											name="from" id="from" value="${app.from}" readonly="readonly" />
									</label>
									</td>
								</tr>
								<tr>
									<td><strong>To :</strong>
									</td>
									<td colspan="100"><label> <input type="text"
											name="to" id="to" value="${app.to}" readonly="readonly" /> </label>
									</td>
								</tr>

								<tr>
									<td><strong>Reason :</strong>
									</td>
									<td colspan="100"><label> <input type="text"
											name="reason" id="reason" value="${app.reason}"
											readonly="readonly" /> </label>
									</td>
								</tr>
								<tr>
									<td><strong>Leave Nature :</strong>
									</td>
									<td colspan="100"><label> <input type="text"
											name="leavenature" id="leavenature"
											value="${app.leavenature}" readonly="readonly" /> </label>
									</td>
								</tr>
								<tr>
									<td><strong>Work Dissemination :</strong>
									</td>
									<td colspan="100"><label> <input type="text"
											name="workdissemination" id="workdissemination"
											value="${app.workDissemination}" readonly="readonly" /> </label>
									</td>
								</tr>
								<tr>
									<td><strong>Contact Details :</strong>
									</td>
									<td colspan="100"><label> <input type="text"
											name="contactdetail" id="contactdetail"
											value="${app.contact}" readonly="readonly" /> </label>
									</td>
								</tr>
							</table>


							<table width="200" border="1" align="right">
								<tr>
									<td colspan="50"><input type="submit" name="approve"
										id="approve" value="Submit" />
									</td>

								</tr>
							</table>
						</form>
						<h4>&nbsp;</h4>
					</div>
					<!-- end col2 -->

				</div>
				<!-- end colleft -->

			</div>
			<!-- end main -->

		</div>
		<!-- end page-wrapper -->

	</div>
	<!-- end page -->

</body>
</html>